package chapter4;

import javax.swing.JFrame;

public class DrawPanelTest {

	public static void main(String[] args) {

		DrawPanel panel = new DrawPanel();
		
		JFrame application = new JFrame();
		
		application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
		application.add( panel ); //adiciona o painel ao frame
		application.setSize(300, 300); //configura o tamanho do frame
		application.setVisible(true); //torna o frame visivel
	}

}
